package com.rich.common.constant;

/**
 * @author minicoco
 * @version 1.0
 * @date 2021/8/16 14:14
 */
public enum GroupBuyEnum {

    /*抱歉,查询不到该团购信息!*/
    UN_CONFORMITY(401,"抱歉,查询不到该团购信息!"),
    /*该团未开启!*/
    UN_START(402,"该团未开启!"),
    /*该团已满员!*/
    IS_ENOUGH(406,"该团已满员!"),
    /*您已参与该团*/
    ALREADY_JOIN(412,"您已参与该团!"),
    /*服务器忙*/
    SEVER_BUZY(420,"服务器忙!"),
    /*参团成功*/
    SUCCESS_JOIN(2000,"参团成功!"),
    /*该团已结束*/
    IS_OVER(403,"该团已结束!");


    private  Integer code;

    private  String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    GroupBuyEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
